<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    {% extends "thesite/the_header.html" %}
</head>
<body>
    {% block content %}
        <form method="post" name="form1">
            {% csrf_token %}
            <!--<p><select name="choose">-->
                    <!--<<option value="none">请选择</option>>-->
                    <!--<option value="number">数字</option>-->
                    <!--<option value="letter">字母</option>-->
                    <!--<option value="symbol">字符</option>-->
                    <!--<option value="mixture">混合</option>-->
                <!--</select>-->
                <!--<input type="text" name="number">（输入生成长度）-->
            <!--<button type="submit" name="res">提交</button>-->
            <!--<p>结果：{{res}}</p>-->
            {{ form }}
            <button type="submit" name="res">提交</button>
            <p>结果：{{res}}</p>
        </form>
    <form method="post" name="form2">
        {% csrf_token %}
        <p><select name="choose1">
                <option value="cardnumber">身份证</option>
        </select>
        <button type="submit" name="res1">生成</button></p>
        <p>结果：{{ card }}</p>
        <script>
    </script>
    </form>
    {% endblock %}
</body>
</html>